package org.alex.samples.service;

import java.util.ArrayList;
import java.util.List;

import org.alex.samples.dao.ITeacherDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


public class ITeacherServiceImpl implements ITeacherService{
	
	
	private ITeacherDao teacherDao;

	@Override
	public List<String> getAllUserBySubject(Integer subjectId) throws Exception {
		return teacherDao.getAllUserBySubject(subjectId);
	}

	@Override
	public void saveSubjectStudent(List<String> list, Integer subjcetId) throws Exception {
		List<String> stuList=teacherDao.getAllUserBySubject(subjcetId);
		List<String> inserList=new ArrayList<String>();
		List<String> delList=new ArrayList<String>();
		
	}	
	

}
